<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下载</title>
</head>
<body>
<a id="download" download></a>
<script>
    (function () {
        let searchParams = new URLSearchParams(location.search);
        var download = document.getElementById("download");
        download.setAttribute("href", searchParams.get("url"))
        download.click()
        setTimeout(() => {
            window.location.href = "about:blank";
            window.close();
        }, 200)
    })();

</script>
</body>
</html>